package com.CST.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;


/**
 * @author qtx
 */
@Data
public class BaseCostDTO implements Serializable {

    private Long id;
    @ApiModelProperty(value = "产生时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd")
    private LocalDate time;

    @ApiModelProperty(value = "产生时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd")
    private LocalDate oldTime;

    @ApiModelProperty(value = "科室编号")
    private String deptCode;

    @ApiModelProperty(value = "科室名称")
    private String deptName;

    @ApiModelProperty(value = "总价")
    private BigDecimal amount;

    @ApiModelProperty(value = "费用要素编号")
    private String costItemCode;

    @ApiModelProperty(value = "费用要素名称")
    private String costItemName;

    @ApiModelProperty(value = "科室类型ID")
    private String deptTypeId;

    @ApiModelProperty(value = "科室类型")
    private String deptTypeName;

    @ApiModelProperty(value = "备注")
    private String remark;
}
